/**
 * @program: PavtFirmware
 * @description:
 * @author: zyc
 * @create: 2018-06-14 15:11
 **/
package com.zjpavt.client.command.entity;

import java.util.Arrays;

public class BaseCommand extends AbstractCommand {
    public BaseCommand(int[] status) {
        super(status);
    }
    public BaseCommand(int[] status,int length) {
        super(status,length);
    }
    public BaseCommand(int[] status,int beginIndex,int length) {
        super();
        this.commandArray = new int[length];
        System.arraycopy(status, beginIndex, this.commandArray, 0, length);

    }

    @Override
    public String toString() {

        return getCommandString();
    }
}
